
u9ImPDA.registerModule('PackingStorage', [])

    .config(['$stateProvider', function ($stateProvider) {
        $stateProvider
            .state('PackingStorage', {
                url: '/PackingStorage',
                templateUrl: u9ImPDA.getFullPath('tpls/packingStorage.home.html', 'PackingStorage'),
                controller: 'PackingStorage.HomeCtrl',
                resolve: {
                    loadFile: ['$ocLazyLoad', function($ocLazyLoad) {
                        return $ocLazyLoad.load({
                            name: 'PackingStorage.file',
                            files: [
                                u9ImPDA.getFullPath('js/controllers/PackingStorage.HomeCtrl.js', 'PackingStorage'),
                                u9ImPDA.getFullPath('js/controllers/PackingStorage.BatsCtrl.js', 'PackingStorage'),
                                u9ImPDA.getFullPath('js/services/PackingStorage.HomeService.js', 'PackingStorage')
                            ]
                        });
                    }]
                }
            })
            .state('PackingStorage-bats', {
                url: '/PackingStorage-bats/:packData',
                templateUrl: u9ImPDA.getFullPath('tpls/packingStorage.bats.html', 'PackingStorage'),
                controller: 'PackingStorage.BatsCtrl'
            });
            
    }]);
